
public class Prime extends Pet {//extend means it is a children
	public void teaching(){//functions
		System.out.println("Cats.");
	}
	public void sleeping(){
		System.out.println("ZZzzzzzzzzz....");
		
	}
	public Prime(int h, String name, boolean p){//allows the prime to be created
		super(h, name, p);
	}
	@Override
	public void speak() {
		System.out.println("I'm a slave :(");
	}
}
